(function () {
    var a = document.getElementById('dsq_loader'),
        l = function () {
            var s = document.createElement('script'),
                n = 'dcm404',
                d = 'head',
                b = 'body',
                c = 'dsq_script',
                h = document.getElementsByTagName(d)[0] || document.getElementsByTagName(b)[0],
                o;
            s.type = 'text/javascript';
            s.async = true;
            s.id = c;
            s.src = 'http://' + n + '.disqus.com/embed.js';
            if (document.getElementById(c)) {
                o = document.getElementById(c);
                o.parentNode.removeChild(o);
            }
            h.appendChild(s);
        };
    a.onclick = function () {
        $(this).replaceWith('<div class="loader alt-1" style="height:100px;background-position:50% 50%;"></div>');
        l();
        return false;
    };
})();